package com.sniff.atp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * @BelongsProject: sniff-atp
 * @BelongsPackage: com.sniff.atp.entity
 * @Author: zxy
 * @CreateTime: 2022-11-22 15:54
 * @Description: 执行记录
 * @Version: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("execute_record")
@ApiModel(value="ExecuteRecord对象", description="执行记录")
public class ExecuteRecord implements Serializable {
    @TableId(value ="id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "创建日期")
    private Date createTime;

    @ApiModelProperty(value = "请求url")
    private String req_url;

    @ApiModelProperty(value = "请求header")
    private String req_header;

    @ApiModelProperty(value = "请求body")
    private String req_body;

    @ApiModelProperty(value = "状态码")
    private String resp_code;

    @ApiModelProperty(value = "响应header")
    private String resp_header;

    @ApiModelProperty(value = "响应body")
    private String resp_body;
}
